//
//  simShopDetailController.h
//  simens
//
//  Created by amy zhang on 12-7-16.
//  Copyright (c) 2012年 yst. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "simShopVisitCalendarController.h"
#import "smBaseViewController.h"


@protocol simShopDetailDelegate <NSObject>

@optional 
- (void)SubmitVisitSuccess;
@end

@interface deviceItem :NSObject {
    
};

@property (strong) NSString* name;
@property (strong) NSString* status;
@property (strong) NSString* dev_id;
@property(strong) NSString* sta_id;
@property(strong) NSString* date;
@property(strong) NSString* contactor;
@property(strong) NSString* phone;
@property(strong) NSString* opptyid;
@end

@interface dictItem : NSObject{
    
};
@property (strong) NSString* itemid;
@property (strong) NSString* itemname;

@end

@interface simShopDetailController : smBaseViewController
-(NSArray*) requestFordata:(NSString*) methodNameWithParameter objecName:(NSString*) name;
-(void) setCustomerItem:(visitorItem*) customer;
-(void) setdeviceItem:(deviceItem*) visitdevice;

@property (nonatomic) id<simShopDetailDelegate> detailDelegate;
@end
